package com.mo.axion.common.constant;

import lombok.NoArgsConstructor;

/**
 * @author Mo
 * @createTime 2024/4/11 13:57
 * @description Axion常量信息
 */
public class AxionConstant {
    /**
     * businessId默认的长度
     * 生成的逻辑：@com.mo.axion.support.utils.TaskInfoUtils#generateBusinessId(java.lang.Long, java.lang.Integer)
     */
    public static final Integer BUSINESS_ID_LENGTH = 16;
    /**
     * 接口限制 最多的人数
     */
    public static final Integer BATCH_RECEIVER_SIZE = 100;
    /**
     * 消息发送给全部人的标识
     * (企业微信 应用消息)
     * (钉钉自定义机器人)
     * (钉钉工作消息)
     */
    public static final String SEND_ALL = "@all";
    /**
     * 链路追踪缓存的key标识
     */
    public static final String CACHE_KEY_PREFIX = "Axion";
    public static final String MESSAGE_ID = "MessageId";
    /**
     * 消息模板常量；
     * 如果新建模板/账号时，没传入则用该常量
     */
    public static final String DEFAULT_CREATOR = "Mo";
    public static final String DEFAULT_UPDATOR = "Mo";
    public static final String DEFAULT_TEAM = "Moooooooo公众号";
    public static final String DEFAULT_AUDITOR = "Mo";
    /**
     * 项目打印常量
     */
    public static final String PROJECT_NAME = " :: Axion :: ";
    public static final String PROJECT_BANNER = "          _____                                            _____                   _______                   _____          \n" +
            "         /\\    \\                 ______                   /\\    \\                 /::\\    \\                 /\\    \\         \n" +
            "        /::\\    \\               |::|   |                 /::\\    \\               /::::\\    \\               /::\\____\\        \n" +
            "       /::::\\    \\              |::|   |                 \\:::\\    \\             /::::::\\    \\             /::::|   |        \n" +
            "      /::::::\\    \\             |::|   |                  \\:::\\    \\           /::::::::\\    \\           /:::::|   |        \n" +
            "     /:::/\\:::\\    \\            |::|   |                   \\:::\\    \\         /:::/~~\\:::\\    \\         /::::::|   |        \n" +
            "    /:::/__\\:::\\    \\           |::|   |                    \\:::\\    \\       /:::/    \\:::\\    \\       /:::/|::|   |        \n" +
            "   /::::\\   \\:::\\    \\          |::|   |                    /::::\\    \\     /:::/    / \\:::\\    \\     /:::/ |::|   |        \n" +
            "  /::::::\\   \\:::\\    \\         |::|   |           ____    /::::::\\    \\   /:::/____/   \\:::\\____\\   /:::/  |::|   | _____  \n" +
            " /:::/\\:::\\   \\:::\\    \\  ______|::|___|___ ____  /\\   \\  /:::/\\:::\\    \\ |:::|    |     |:::|    | /:::/   |::|   |/\\    \\ \n" +
            "/:::/  \\:::\\   \\:::\\____\\|:::::::::::::::::|    |/::\\   \\/:::/  \\:::\\____\\|:::|____|     |:::|    |/:: /    |::|   /::\\____\\\n" +
            "\\::/    \\:::\\  /:::/    /|:::::::::::::::::|____|\\:::\\  /:::/    \\::/    / \\:::\\    \\   /:::/    / \\::/    /|::|  /:::/    /\n" +
            " \\/____/ \\:::\\/:::/    /  ~~~~~~|::|~~~|~~~       \\:::\\/:::/    / \\/____/   \\:::\\    \\ /:::/    /   \\/____/ |::| /:::/    / \n" +
            "          \\::::::/    /         |::|   |           \\::::::/    /             \\:::\\    /:::/    /            |::|/:::/    /  \n" +
            "           \\::::/    /          |::|   |            \\::::/____/               \\:::\\__/:::/    /             |::::::/    /   \n" +
            "           /:::/    /           |::|   |             \\:::\\    \\                \\::::::::/    /              |:::::/    /    \n" +
            "          /:::/    /            |::|   |              \\:::\\    \\                \\::::::/    /               |::::/    /     \n" +
            "         /:::/    /             |::|   |               \\:::\\    \\                \\::::/    /                /:::/    /      \n" +
            "        /:::/    /              |::|   |                \\:::\\____\\                \\::/____/                /:::/    /       \n" +
            "        \\::/    /               |::|___|                 \\::/    /                 ~~                      \\::/    /        \n" +
            "         \\/____/                 ~~                       \\/____/                                           \\/____/         \n";
}
